FROM acicn/php:7.4-r4

WORKDIR /var/www

ADD . .

ENV SW_APP_CODE=php-query-api
ENV SW_ENABLE=0

ENV PHPCFG_PHP_FPM_WWW_CONF_www__x0=clear_env=no
ENV PHPCFG_PHP_FPM_WWW_CONF_www__x1=request_slowlog_timeout=1
ENV PHPCFG_PHP_FPM_WWW_CONF_www__x2=slowlog=/tmp/php-log/php.1.log.fifo
